package my.diplom.dao;

import my.diplom.entity.Status;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gb
 * Date: 13.07.2009
 * Time: 23:54:27
 * To change this template use File | Settings | File Templates.
 */
public interface IStatusDAO {
    void create(Status status);
	void update(Status status);
	List<Status> getAll();
	List<Status> getOrderStatuces();
	List<Status> getResourceStatuces();
	List<Status> getEventStatuces();
	Status getById(Long statusId);
	Status getByName(String statusName);
	void delete(Status status);
}
